package com.itcam.lease.web.admin.mapper;

import com.itcam.lease.model.entity.ViewAppointment;
import com.itcam.lease.web.admin.vo.appointment.AppointmentQueryVo;
import com.itcam.lease.web.admin.vo.appointment.AppointmentVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ViewAppointmentMapper extends BaseMapper<ViewAppointment> {

    /**
     * 分页查询预约信息
     * @param page
     * @param queryVo
     * @return
     */
    IPage<AppointmentVo> pageAppointmentByQuery(IPage<AppointmentVo> page, AppointmentQueryVo queryVo);
}




